package com.dingding.facade.tailwind;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dingding.common.core.base.dto.ResponseEntity;
import com.dingding.core.tailwind.service.IDepositPasswordService;
import com.dingding.facade.user.common.dto.tailwind.ReqForgetDepositPassword;
import com.dingding.facade.user.common.dto.tailwind.ReqUpdateDepositPassword;
import com.dingding.facade.user.facade.tailwind.IDepositPasswordFacade;

/**
 * 
 * @ClassName: DepositPasswordFacadeImpl 
 * @Description: 提现密码服务接口实现类(乘客端)
 * @author YHQ
 * @date 2016年12月22日 上午10:13:34
 * @since V2.6.3
 * 
 */
@Component("depositPasswordFacade")
public class DepositPasswordFacadeImpl implements IDepositPasswordFacade{

	@Resource(name = "depositPasswordService")
	private IDepositPasswordService depositPasswordService;
	
	/**
	 * 
	 * @Title: updateUserDepositPassword 
	 * @Description: 修改用户提现密码(乘客端)
	 * @param reqUpdateDepositPassword 修改用户提现密码客户端请求Bean
	 * @author YHQ 
	 * @return ResponseEntity<Object>
	 * 
	 */
	@Override
	public ResponseEntity<Object> updateUserDepositPassword(ReqUpdateDepositPassword reqUpdateDepositPassword) {
		
		return depositPasswordService.updateUserDepositPassword(reqUpdateDepositPassword);
	}

	/**
	 * 
	 * @Title: forgetDepositPassword 
	 * @Description: 忘记提现密码(乘客端) 
	 * @param reqForgetDepositPassword 忘记提现密码客户端请求Bean
	 * @author YHQ 
	 * @since V2.6.3
	 * @return Boolean    返回类型
	 * 
	 */
	@Override
	public ResponseEntity<Object> forgetDepositPassword(ReqForgetDepositPassword reqForgetDepositPassword) {
		
		return depositPasswordService.forgetDepositPassword(reqForgetDepositPassword);
	}

}
